package com.chima.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;
import com.chima.domain.DetailPost;
import com.chima.domain.PageRequestBean;
import com.chima.domain.PageResponseBean;
@Transactional
public interface DetailPostService {
	
	public PageResponseBean findDetailPost(PageRequestBean pageRequestBean);
	public void saveDetailPost(DetailPost detailPost); 
	public void updateDetailPost(DetailPost detailPost); 
	public void deleteDetailPost(int id);
	public List<DetailPost>findByPostAndEmp(int post, int emp);
	public DetailPost findByNameAndEmp(String name,int emp);
	public List<DetailPost>findByDeptId(int DeptId);
	
	public void deleteDetailPostByEmp(int empid);
}
